<% if @games %>
  <% @games.to_json() %>
  <%= render :partial => "grid_display", :locals => {:ar_objects => @games} %>
<% else %>
  <%= "An error occured trying to render a list of events." %>
<%end%>
